package com.ctgu.tengyun.service.saleorder;

import com.ctgu.tengyun.domain.SaleOrderProductRecord;
import com.ctgu.tengyun.domain.SaleOrderRecord;

import java.util.List;

/**
 * Created by liaoweizhi on 2019/8/8.
 */
public interface SaleOrderProductRecordService {

    int insertSelective(SaleOrderProductRecord record);

    Integer countSaleProduct(String productNo, Long saleDateStart, Long saleDateEnd);

    List<SaleOrderProductRecord> selectSaleProductList(String productNo, Long saleDateStart, Long saleDateEnd,
                                                       Integer pageNo, Integer pageSize);

    SaleOrderProductRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SaleOrderProductRecord record);
}
